package com.wis.mapper;

import com.wis.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    // 登录
    @Select("select * from user where email=#{email} and password=#{password}")
    UserEntity login(@Param("email") String email,@Param("password") String password);
}
